package com.caine.design.ch01;

public class CarMoveAble implements MoveAble{
    public CarMoveAble(MoveAble moveAble){
        this.moveAble = moveAble;
    }
    MoveAble moveAble;
    @Override
    public void move() {
        System.out.println("CarMoveAble start");
        moveAble.move();
        System.out.println("CarMoveAble end");
    }
}
